home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / guide / hsc.lha / hsc / hsc.prefs < prev    next >
Text File  |  1995-10-09  |  5KB  |  143 lines

  1. <*
  2. ** this is the config file for hsc
  3. **
  4. ** it defines all tags of HTML2.0, but only some entities.
  5. **
  6. ** (W) by Tommy-Saftwörx in 1995
  7. **
  8. ** updated:  9-Oct-1995
  9. ** created:  8-Sep-1995
  10. **
  11. **----------------------------------------------------------------------------
  12. **
  13. ** syntax to define a new tag:
  14. **
  15. **   <$DEFTAG [flag] [attribute]>
  16. **
  17. **   flag:
  18. **       CLOSE     tag requires closing tag (<UL>)
  19. **       HANDLE    handle function is called if available
  20. **       JERK      tag is a netscape-extension (<NOBR>)
  21. **       OBSOLETE  tag is obsolete and should not be used anymore (<LISTING>)
  22. **       ONLYONCE  tag can appear at the most once (<HEAD>)
  23. **       REQUIRED  tag is required at least once per document (<HEAD>)
  24. **
  25. **   attribute: <name>:<type>
  26. **
  27. **       name:
  28. **           name of attribute, consists of chars
  29. **                 ('A'..'Z', 'a'..'z', '0'..'9', '_')
  30. **       type:
  31. **           bool....boolean switch
  32. **           enum....enumerator type (example see <IMG ALIGN=..>)
  33. **           string..any text
  34. **           uri.....reference to another URI
  35. **
  36. **----------------------------------------------------------------------------
  37. **
  38. ** syntax to define a new entity:
  39. **
  40. ** <$DEFENT NAME=name [RPLC=replace]>
  41. **
  42. **   name   : name of entity, eg "Uuml"
  43. **   replace: special character that should be replaced
  44. **            if found, eg "Ü"
  45. **
  46. ** NOTE: entities & ("&"), > (">") and < ("<") are defined by hsc.
  47. **
  48. **----------------------------------------------------------------------------
  49. **
  50. ** IMPORTANT: DO NOT LEAVE ANY BLANK LINES IN THIS FILE!
  51. **            (otherwise, a blamk line will appear in every file
  52. **            processed with this config - I should fix this...)
  53. **
  54. **----------------------------------------------------------------------------
  55. *>
  56. <*********************>
  57. <* Entities (I need) *>
  58. <*********************>
  59. <$defent NAME="auml"   RPLC="ä">
  60. <$defent NAME="Auml"   RPLC="Ä">
  61. <$defent NAME="ouml"   RPLC="ö">
  62. <$defent NAME="Ouml"   RPLC="Ö">
  63. <$defent NAME="uuml"   RPLC="ü">
  64. <$defent NAME="Uuml"   RPLC="Ü">
  65. <$defent NAME="szlig"  RPLC="ß">
  66. <$defent NAME="copy">
  67. <$defent NAME="quot">
  68. <$defent NAME="otilde">
  69. <$defent NAME="ntilde">
  70. <$defent NAME="Icirc">
  71. <*********************>
  72. <*** HTML 1.0 tags ***>
  73. <*********************>
  74. <$deftag ! IGNOREARGS><* do not edit *>
  75. <$deftag A CLOSE NOCOPY NONESTING HREF:uri NAME:string REL:string>
  76. <$deftag ADDRESS CLOSE>
  77. <$deftag B CLOSE>
  78. <$deftag BASE ONLYONCE HREF:uri>
  79. <$deftag BLOCKQUOTE CLOSE>
  80. <$deftag BODY CLOSE REQUIRED ONLYONCE>
  81. <$deftag BR>
  82. <$deftag CITE CLOSE>
  83. <$deftag CODE CLOSE>
  84. <$deftag DD>
  85. <$deftag DL CLOSE COMPACT:bool>
  86. <$deftag DT>
  87. <$deftag EM CLOSE>
  88. <$deftag HTML CLOSE REQUIRED ONLYONCE>
  89. <$deftag HEAD CLOSE REQUIRED ONLYONCE>
  90. <$deftag IMG SRC:uri ALT:string ALIGN:enum(top|bottom|middle|*) ISMAP:bool>
  91. <$deftag H1 CLOSE>
  92. <$deftag H2 CLOSE>
  93. <$deftag H3 CLOSE>
  94. <$deftag H4 CLOSE>
  95. <$deftag H5 CLOSE>
  96. <$deftag H6 CLOSE>
  97. <$deftag HR>
  98. <$deftag I CLOSE>
  99. <$deftag ISINDEX ACTION:string PROMPT:string>
  100. <$deftag KBD CLOSE>
  101. <$deftag LI IGNOREARGS>
  102. <$deftag LINK HREF:uri TITLE:string REV:string REL:string URN:string METHODS:string>
  103. <$deftag NEXTID N:string>
  104. <$deftag P>
  105. <$deftag PRE CLOSE>
  106. <$deftag OL CLOSE COMPACT:bool>
  107. <$deftag SAMP CLOSE>
  108. <$deftag STRONG CLOSE>
  109. <$deftag TT CLOSE>
  110. <$deftag TITLE CLOSE REQUIRED ONLYONCE>
  111. <$deftag UL CLOSE>
  112. <$deftag VAR CLOSE>
  113. <*********************>
  114. <*** HTML 2.0 tags ***>
  115. <*********************>
  116. <*
  117. ** NOTE: I haven't found a reference that discribes only
  118. ** the HTML 2.0 tags, therefor these $deftags might
  119. ** define some attributes that are proposed for 3.0.
  120. *>
  121. <$deftag FORM CLOSE ACTION:string METHODE:enum(get|post) ENCTYPE:string SCRIPT:string>
  122. <$deftag INPUT TYPE:string NAME:string VALUE:string DISABLED:bool CHECKED:bool SRC:string MD:string MAXLENGTH:string ALIGN:enum(top|middle|bottom|left|right) ACCEPT:string><* clumsy *>
  123. <$deftag MENU CLOSE COMPACT:bool>
  124. <$deftag META CONTENT:string/r HTTP-EQUIV:string NAME:string>
  125. <$deftag OPTION SELECTED:bool DISABLED:bool VALUE:string>
  126. <$deftag SELECT CLOSE NAME:string/r MULTIPLE:bool>
  127. <$deftag TEXTAREA CLOSE ALIGN:enum(top|bottom|middle|left|right) COLS:string NAME:string ROWS:string>
  128. <*********************>
  129. <*** OBSOLETE tags ***>
  130. <*********************>
  131. <$deftag LISTING CLOSE OBSOLETE>
  132. <$deftag PLAINTEXT CLOSE OBSOLETE>
  133. <$deftag XMP CLOSE OBSOLETE>
  134. <*****************>
  135. <*** JERK tags ***>
  136. <*****************>
  137. <$deftag BASEFONT JERK SIZE:enum(1|2|3|4|5|6|7)>
  138. <$deftag BLINK CLOSE JERK>
  139. <$deftag CENTER CLOSE JERK>
  140. <$deftag FONT CLOSE JERK SIZE:enum(1|2|3|4|5|6|7|+1|+2|+3|+4|+5|+6|+7|-1|-2|-3|-4|-5|-6|-7)><* looks rather stupid, eh? *>
  141. <$deftag NOBR CLOSE JERK>
  142. <$deftag WBR JERK>
  143.